<template>
    <div class="alease_title_left">
        <div class="title-text">
            {{ props.title }}
        </div>
    </div>
</template>

<script lang="ts" setup>
const props = defineProps({
    title: {
        type: String,
        default: '设备状态'
    }
})
</script>

<style lang="scss" scoped>
.alease_title_left {
    position: relative;
    font-family: OPPOSans;
    color: #ffffff;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 346px;
    height: 40px;
    margin-bottom: 15px;
    overflow: hidden;
    background: url('./img/二级标题.png') no-repeat;
    background-size: 100% 100%;
    cursor: pointer;
    .title-text {
        font-weight: 400;
        font-size: 24px;
        flex: 1;
        position: relative;
        width: fit-content;
    }
}
</style>
